//
//  DYIMChatNavView.h
//  HBuilder
//
//  Created by 黄德玉 on 2019/11/2.
//  Copyright © 2019 DCloud. All rights reserved.
//

#import <UIKit/UIKit.h>

#define HexRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

NS_ASSUME_NONNULL_BEGIN

@interface DYIMChatNavView : UIView

@property (nonatomic,strong) UILabel * titleLabel;      //核心元素，标题
@property (nonatomic,strong) UIButton * backBtn;        //核心元素返回按钮
@property (nonatomic,strong) UIImageView * backImgView; //返回的图片
@property (nonatomic,strong) UIView *btmLine;           //导航栏下面的线

@property (nonatomic,copy) void(^itemClicked)(NSInteger tag); // 导航栏点击

- (void)hideBackBtn;

- (void)btnClicked:(UIButton *)btn;


@end

NS_ASSUME_NONNULL_END
